package com.example.springboot.bean;

import javax.persistence.*;

/**
 * Created by tang on 2017/11/28.
 */
@Entity
public class Department {


    @Id
    @Column(name = "department_id")
    private String departmentId;

    @Column(name = "department")
    private String department;


    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }
}
